package hr.ctg.domain.action.drzava;

import hr.ctg.domain.model.Drzava;
import hr.ctg.service.dao.DrzavaDAO;

import org.jboss.seam.annotations.Factory;
import org.jboss.seam.annotations.In;
import org.jboss.seam.annotations.Name;

@Name("drzavaDetailsAction")
public class DrzavaDetailsAction {
	@In
	DrzavaDAO drzavaDAO;

	Integer idDrzave = 1;

	@Factory("drzavaDetails")
	public Drzava getDrzava() {
		return drzavaDAO.find(idDrzave);
	}
}
